package com.kongchengji.spider.station.dao;

import com.kongchengji.spider.station.domain.SourceStationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Mapper
@Component
public interface SourceStationDao {
    int add(SourceStationDO sourceStationDO);
    int updateRelation(SourceStationDO sourceStationDO);
    List<Integer> selectIdsByNames(@Param("programNames") List<String> programNames, @Param("stationId")int stationId);
}
